package com.linewell.service;

import com.linewell.entity.Article;
import com.linewell.entity.Focus;
import com.linewell.entity.Tag;
import com.linewell.utils.Msg;

import java.util.List;

/**
 * @Title: ssm2
 * @description:
 * @author: hyuhuang@linewell.com
 * @since:2018/1/18 16:44
 */

public interface IFocusService {

    Focus selectAllFocus(Long userId);

    Focus selectFive(long userId);

    Msg attention(Long userId, Long focusId);

    Msg selectFocus(Long userId, Long focusId);

    List<Tag> selectUserTag(Long userId);

    Article recommendArticle(int tagId);

    Msg getUserTag(Long userId);

    Msg getRecommendArticle(int tagId);
}
